{{- $level := .Get 0 -}}
{{- $text := .Get 1 -}}

{{- $html_level := (add 2 (int $level)) -}}

{{- if (eq (int $level) 1) -}}
  {{- $labelToken := partial "labelFromTitle" $text -}}
  {{- partial "labelPartial" (dict "labelToken" $labelToken "pagePath" $.Page.Path) -}}
{{- end -}}

<h{{- $html_level -}}>{{- $text -}}</h{{- $html_level -}}>
{{- $unused := 17 -}}
